package com.adg.weather;

import android.app.Activity;
import android.os.Bundle;

import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.Toast;

import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.Toast;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

public class Mapa extends Activity {

	private MapView mapView;
	// private MapController controller;
	public ImageButton marker;
	public ImageButton tortas;

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mapa);
		marker = (ImageButton) findViewById(R.id.mark);
		marker.setOnClickListener(new OnClickListener() {
			public void onClick(View view) {
				Toast.makeText(
						getApplicationContext(),
						"Ricazuelas Yoli. Antojitos. Economico. Horario: 7-12p",
						Toast.LENGTH_SHORT).show();

			}
		});
		tortas = (ImageButton) findViewById(R.id.tortasD);
		tortas.setOnClickListener(new OnClickListener() {
			public void onClick(View view) {
				Toast.makeText(
						getApplicationContext(),
						"Tortas del Don. Antojitos. Economico. Horario: 10a-5p",
						Toast.LENGTH_SHORT).show();

			}
		});
		// mapView = (MapView) findViewById(R.id.mapView);
		// controller = mapView.getController();

		marker = (ImageButton) findViewById(R.id.mark);
		marker.setOnClickListener(new OnClickListener() {
			public void onClick(View view) {
				Toast.makeText(
						getApplicationContext(),
						"Ricazuelas Yoli. Antojitos. Economico. Horario: 7-12p",
						Toast.LENGTH_SHORT).show();

			}
		});
		tortas = (ImageButton) findViewById(R.id.tortas);
		tortas.setOnClickListener(new OnClickListener() {
			public void onClick(View view) {
				Toast.makeText(
						getApplicationContext(),
						"Tortas del Don. Antojitos. Economico. Horario: 10a-5p",
						Toast.LENGTH_SHORT).show();

			}
		});

	}

	/*
	 * @Override protected boolean isRouteDisplayed() { // DoNothing return
	 * false; }
	 */
	/*
	 * @Override protected boolean isRouteDisplayed() { // DoNothing return
	 * false; }
	 */
}
